<template>
    <div class="l-from-body" style="padding:8px 48px 8px 48px;" >
      <el-form label-position="left"  size="mini"  ref="form" label-width="80px">
          <el-divider content-position="left">{{$t('基本信息')}}</el-divider>
           <el-col :span="24" v-if="loginInfo.tenantNo && loginInfo.tenantNo != 'host'">
              <el-form-item :label="$t('租户号')" prop="tenantNo">
                  <el-input v-model="loginInfo.tenantNo" readonly="readonly" ></el-input>
              </el-form-item>
          </el-col>
           <el-col :span="24" v-if="loginInfo.tenantName">
              <el-form-item :label="$t('租户')" prop="tenantName">
                  <el-input v-model="loginInfo.tenantName" readonly="readonly" ></el-input>
              </el-form-item>
          </el-col>
           <el-col :span="24" v-if="loginInfo.tenantCompany">
              <el-form-item :label="$t('租户公司')" prop="tenantCompany">
                  <el-input v-model="loginInfo.tenantCompany" readonly="readonly" ></el-input>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('账号')" prop="f_Account">
                  <el-input v-model="loginInfo.f_Account" readonly="readonly" ></el-input>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('姓名')" prop="f_RealName">
                  <el-input v-model="loginInfo.f_RealName" readonly="readonly"></el-input>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('性别')" prop="f_Gender">
                <el-radio v-model="loginInfo.f_Gender" disabled="disabled" :label="1">{{$t('男')}}</el-radio>
                <el-radio v-model="loginInfo.f_Gender" disabled="disabled" :label="0">{{$t('女') }}</el-radio>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('公司')" prop="f_CompanyId">
                  <l-company :value="this.loginInfo.f_CompanyId" ></l-company>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('部门')" prop="f_DepartmentId">
                  <l-department :value="this.loginInfo.f_DepartmentId" ></l-department>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('岗位')" prop="postIds">
                  <el-input :value="lr_postName(loginInfo.postIds)" readonly="readonly"></el-input>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('角色')" prop="roleIds">
                  <el-input :value="lr_roleName(loginInfo.roleIds)" readonly="readonly"></el-input>
              </el-form-item>
          </el-col>
          <el-col :span="24">
              <el-form-item :label="$t('备注')" prop="f_Description">
                  <el-input type="textarea" v-model="loginInfo.f_Description" readonly="readonly"></el-input>
              </el-form-item>
          </el-col>
      </el-form>
    </div>
</template>

<script>
export default {
  name: "user-baseinfo",
  data () {
    return {
    };
  },
  computed: {
  },
  methods: {
  }
};
</script>